package cn.rongcloud.im.server.response;

/**
 * Created by fangxuegengezou on 2017/3/22.
 */

public class BaseMomentResponse {
    /**
     * code=200:执行成功(除200外其余代码均为异常信息)。例： {"code":200, message:”ok”}
     * code=1000:通用错误代码。例：{"code":1000, message:”记录不存在”}
     * code=1001:Token错误
     * code=1002:输入参数错误
     */

    private int code;
    /**
     * 返回消息
     */
    private String message;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
